.title-wrap {
    padding-bottom: 0.18rem;
    height: 0.57rem;

    h2 {
        font-size: 0.28rem;
        font-weight: 900;
        color: rgba(0, 0, 0, 0.9);
        line-height: 0.29rem;
    }

    .counts {
        color: rgba(0, 0, 0, 0.6);
        font-size: 0.16rem;
        line-height: 0.22rem;
        margin-left: 0.18rem;
    }

    .more {
        min-width: 1rem;
        height: 100%;
        font-size: 0.16rem;
        color: rgba(0, 0, 0, 0.9);
        font-weight: 400 !important;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}

.episode-list {
    .book-item {
        width: 100%;
        height: 4.1rem;
        position: relative;

        &:hover {
            .book-image {
                border-radius: 0.08rem 0.08rem 0 0;
            }

            .book-name {
                opacity: 0;
            }

            .book-name-box {
                opacity: 1;
            }
        }

        .book-image {
            width: 100%;
            height: 3.04rem;
            overflow: hidden;
            border-radius: 0.08rem;
            display: flex;
            align-items: center;
            position: relative;

            &:hover {
                img {
                    transform: scale(1.1);
                }
            }

            img {
                object-fit: cover;
                width: 100%;
                height: 100%;
                transition: all 0.5s;
            }
        }

        .chapter-count {
            display: flex;
            align-items: center;
            border-radius: 0 0 0.08rem 0.08rem;
            background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
            position: absolute;
            z-index: 1;
            width: 100%;
            height: 0.56rem;
            top: 2.48rem;
            left: 50%;
            transform: translateX(-50%);
            padding: 0.25rem 0.08rem 0;
            text-align: right;
            font-size: 0.13rem;
            font-weight: 400;
            color: hsla(0, 0%, 100%, 0.8);
            line-height: 0.18rem;
            box-sizing: border-box;
        }

        .book-name {
            max-width: 2.28rem;
            font-weight: 500;
            color: rgba(0, 0, 0, 0.9);
            font-size: 0.16rem;
            line-height: 0.22rem;
            position: absolute;
            top: 3.16rem;
            left: 0;
            z-index: 1;
            opacity: 1;
            padding-top: 0;
            width: 2.28rem;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            word-wrap: break-word;
            white-space: break-spaces;
        }

        .book-name-box {
            position: relative;
            z-index: 2;
            opacity: 0;
            padding: 0.12rem;
            background: rgba(50, 50, 57, 0.07);
            display: block;
            border-radius: 0 0 0.08rem 0.08rem;
            transition: all 0.5s;

            .book-name-hover {
                display: block;
                font-size: 0.16rem;
                font-weight: 500;
                color: #ff375f;
                line-height: 0.22rem;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                word-wrap: break-word;
                margin-bottom: 0.1rem;
            }

            .tag-box {
                font-size: 0.12rem;
                font-weight: 400;
                gap: 0.08rem;
                display: flex;
                flex-wrap: wrap;
                height: 0.24rem;
                overflow: hidden;

                .tag-item {
                    color: rgba(0, 0, 0, 0.6);
                    border-radius: 0.12rem;
                    padding: 0 0.1rem;
                    background-color: rgba(50, 50, 57, 0.07);
                    height: 0.24rem;
                    line-height: 0.24rem;
                    max-width: 3rem;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    transition: color 0.3s;
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .book-item {
        &:hover {
            .book-image {
                border-radius: 0.08rem 0.08rem !important;
            }

            .book-name {
                opacity: 1 !important;
            }

            .book-name-box {
                opacity: 0 !important;
            }
        }
    }


    .book-name {
        font-size: .28rem !important;
        line-height: 0.28rem !important;
        -webkit-line-clamp: 1 !important;
    }
}